package com.three.Mapper;

import com.three.Pojo.Dorm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DormMapper {
    void addsave(Dorm dorm);
    List<Dorm> finddormlist(@Param("name") String dormName);

    Dorm findByid(Integer id);

    void delte(Integer id);

    void updatesave(Dorm dorm);
}
